From 30451f914db13e08675a85c2923601349840da1c Mon Sep 17 00:00:00 2001 From: "arun.sharma@intel.com[kaf24]" Date: Thu, 19 May 2005 21:18:39 +0000 Subject: [PATCH] bitkeeper revision 1.1472.1.1 (428d02affnTKrsebSylXhws68fWW9w) [PATCH] qemu.patch This patch is needed to get the tree to build for QEMU based I/O emulation. - Run configure before doing make in tools/ioemu - We now have a single config file for VMX domains (earlier we had a bochsrc and xmexample.vmx) Signed-off-by: Xiaofeng Ling Signed-off-by: Arun Sharma --- tools/Makefile | 3 ++ tools/examples/xmexample.vmx | 61 ++++++++++++++++++++++++++++++++++-- 2 files changed, 61 insertions(+), 3 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 44f452649a..08a045383d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -19,6 +19,9 @@ SUBDIRS += pygrub all: check @set -e; for subdir in $(SUBDIRS); do \ + if [ -f $$subdir/configure ]; then \ + (cd $$subdir; ./configure --prefix=$(DESTDIR)/usr) \ + fi; \ $(MAKE) -C $$subdir $@; \ done diff --git a/tools/examples/xmexample.vmx b/tools/examples/xmexample.vmx index c1984aa60f..428c6e39af 100644 --- a/tools/examples/xmexample.vmx +++ b/tools/examples/xmexample.vmx @@ -75,7 +75,7 @@ root = "/dev/hda1 ro" #nfs_root = '/full/path/to/root/directory' # Sets runlevel 4. -extra = "acpi=off 1" +extra = "acpi=off console=ttyS0 console=tty0 1" #---------------------------------------------------------------------------- # Set according to whether you want the domain restarted when it exits. @@ -89,5 +89,60 @@ extra = "acpi=off 1" # New stuff memmap = '/etc/xen/mem-map.sxp' -device_model = '/usr/sbin/device-model' -device_config = '/etc/xen/bochsrc' +device_model = '/usr/bin/device-model' +device_config = '/etc/xen/xmexample.vmx' + +#============================================================================ +# +# config item for qemu device model +# Note: no space between = +#----------------------------------------------------------------------------- +# Qemu binary path +qemubin='/usr/bin/qemu-dm' + +#----------------------------------------------------------------------------- +# Disk image for +hda='/var/images/min-el3-i386.img' +#hdb= +#hdc= +#hdd= +#cdrom= + +#----------------------------------------------------------------------------- +# boot on floppy (a), hard disk (c) or CD-ROM (d) +#boot=[a|c|d] +#----------------------------------------------------------------------------- +# write to temporary files instead of disk image files +#snapshot=1 + +#---------------------------------------------------------------------------- +# enable SDL library for graphics, default = 0 +sdl=0 + +#---------------------------------------------------------------------------- +# enable VNC library for graphics, default = 1 +vnc=1 + +#---------------------------------------------------------------------------- +# no graphics, use serial port +#nographic=0 + + +#----------------------------------------------------------------------------- +# enable audio support +#enable-audio=1 + + +#----------------------------------------------------------------------------- +# set the real time clock to local time [default=utc] +#localtime='utc' + + +#----------------------------------------------------------------------------- +# start in full screen +#full-screen=1 + +#----------------------------------------------------------------------------- +# set the mac address of the first interface +#macaddr= + -- 2.30.2